<?php include_once 'brand_header_admin.php' ;?>
<!--主体内容-->

<div class="main admin">
	<!--左侧导航菜单-->
	<?php include_once 'brand_admin_left.php' ;?>
	<!--主体内容-->
	<div class="r_box">
		<div class="title">
		  <h1>品牌管理</h1>
		<a href="index.php?mod=brandadmin&code=brand_edit" class="but_b">添加新品牌</a></div>
				<div class="rlist">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="dlist">
				<tr>
					<th width="40px"><input type="checkbox" name="set"></th>
					<th width="100px">编号</th>
					<th>品牌名称</th>
					<th width="100">品牌分类</th>
					<th width="100">品牌类型</th>
					<th width="100">批发价</th>
					<th width="120px">管理</th>
				</tr>
			<?php foreach( $tobacco_list as $tb ){ ?>
				<tr align="center">
					<td><input type="checkbox" name="set"></td>
					<td><?php echo $tb['id'];?></td>
					<td><?php echo $tb['tobacco_name'];?></td>
					<td><?php echo $tb['brandseri'];?></td>
					<td><?php echo $tb['producttype'];?></td>
					<td><?php echo $tb['r_price'];?>元</td>
					<td><a href="index.php?mod=brandadmin&code=brand_edit&id=<?php echo $tb['id'];?>">修改</a> | <a href="index.php?mod=brandadmin&code=brand_del&id=<?php echo $tb['id'];?>">删除</a></td>
				</tr>
			<?php } ?>
			</table>
			<div class="page">
				<span>
				<?php echo $page_arr['html'] ;?>
				</span>
				<a href="#" class="but_b">删除</a>
			</div>
		</div>
	</div>
	<div class="float_both"></div>
</div>
<!--底部-->
<?php include_once 'brand_footer.php' ;?>
